package org.edu.modules.sbzc.fund.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-资产采购表
 */
@TableName("ve_sbzc_zc_purchase")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="资产采购表对象", description="ve_sbzc_zc_purchase")
public class VeSbzcZcPurchase extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "资产id")
    private Integer assetId;

    @TableField
    @ApiModelProperty(value = "资产编号")
    @Length(max = 30)
    private String assetCode;

    @TableField
    @ApiModelProperty(value = "资产名称")
    @Length(max = 200)
    private String assetName;

    @TableField
    @ApiModelProperty(value = "采购数量")
    private Integer count;

    @TableField
    @ApiModelProperty(value = "所属部门")
    @Length(max = 32)
    private String deptOwn;

    @TableField
    @ApiModelProperty(value = "批准人")
    @Length(max = 32)
    private String checkUserId;

    @TableField
    @ApiModelProperty(value = "批准人姓名")
    @Length(max = 32)
    private String checkUserName;

    @TableField
    @ApiModelProperty(value = "创建时间")
    @Length(max = 32)
    private String createTime;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 500)
    private String remark;

    @TableField
    @ApiModelProperty(value = "创建人id")
    @Length(max = 32)
    private String createUserId;

    @TableField
    @ApiModelProperty(value = "创建人姓名")
    @Length(max = 16)
    private String createUserName;
}
